Added code to functions getUserData and checkPass which will fail the authentication if the bound user is not a member of the group specified by the groupfilter.