Refactoring send_new_password.php