Add methods for changing user roles to index and User.class controller

The route "/user/role/change" does not respect the RESTful convention. It should be:
"PUT /user". The backend has then to evaluate what to change by the structure of the json in the request body. In this case it would be:
{ "ID": 3, "role": "admin"}