working example of user create read and update with rest adapter