working edit and delete functions - no css styling yet