refactor in preparation for passport logins