Removed separate api controller and edit button