Server set up for user auth. Auth factory created