Change editing of user info to use session token for authorization; fix showing of success and error messages for edit user.