modified Logined.java and bak files