Get user group of the user while logging in.