make the authenticator do the db connection