abort same email sign up, and encrypt password using hash function