Error handling if an user is not assigned to any group