Update authentication.java