Added UserAuthenticator class whith static method to check if user is authenticated