added edit/delete func plus default route