Fix issue when logging in. Make sure user is in group