Changed Login.java to match earlier changes