fixed a typo in the login class