added ability to delete entries from database