add functional for add and edit user. load user data on edit page wiht javascript