Started using realm in password hashing, and added support for error message replies...