check sent revision when modifying user data

if the sent revision does not match the revision of the currently saved
user data, then somebody must have change them since we downloaded it.
The modification was thus not possible.