Fixed postEdit in UserController to hash the updated password.