using hashing algorithm to store password at registration
fixed duplicate email validation at registration