added hashed password method and edited all methods