Added dependent destroys. Added a custom before_save callback to user.