Modified Login.java file