checks database for existence of user entered email via ajax.