added hashing functionality to login and register user and users model,but have not yet tested