bug fix for getting groupID from login function arguments