Username/email check logic refactor.