changed @resource.reset_password to @token because of devise upgrade
change error message