modified some stuff in the URL and the canRate method