add possibility to check if user has a group