refactored the name of Login class