fixed the check if the user is in not in a group to add a join button