Add HashPassword func in user.
Add password validation method in User struct.