Add email sending to add_user, and function for updating user status.