add edit user function