Implement #18.

It is buggy and does not handle properly concurrency.
@Paul_Mougel: it restores updateUser() function, of which were dependant the mark read/unread calls.