correcting syntax errors on the authentication backend