added function of editing users info