get rid of login_class