epoch-core-pg rename for npm require
Error handling from email/username lookups.
Username/email check logic refactor.