added the login class