saving and updating users working on the server side