added full localization for login class and improved comments