changes to layout, added edit, delete buttons