Added API to check email availability upon registration.