working  for edit user page and functions