Added group selection to login page