Changed the Main method and the Login class