More work on login/registration
Renamed Authentication class (now UserSession)