wired up edit and delete views