change status code

if no revision was sent with the request, we detect this to be a
conflict
add user data modification code

Similarly to papers, user data can be modified by sending patches.
The resources is handled the same as papers