working add and edit user