added hash for passwords and registration pages