added delete functionality for online Library for testing.