Add edit view and fix typo in edit user tests.