Added compare hash and password function. Added password field to user.