classes and login