Changed so that _rank takes a JSON object 

The JSON object should have the fields 'user_id' and 'ranking' instead of URL parameters,

such as:
{ "user_id":"andreas",
  "ranking": 57.0
}