Merge targeted users and groups input

Following Library request merge users and groups and let the backend differenciate them