Adding sample for logging in logIn.java