User-generated services composition in smart multi-user environments