added edit and delete buttons that work