api for getting user groups added