Removed unused function from AuthenticationService