change email check return parameters to avoid 404