add controllers and edit form