uncommented reset_password code