Update BaseAuthenticationService.java