added auth functionality to userAuthenticator class need to write tests