Create authenticator.java

authenticator abstracts the login process from the ControlServlet