Change name and added a method to login.cs