Removed main method from login class