add edit view and controller