Add an update_user function and boilerplate code to facilitate implementation of authentication.
Minor change