added delete functionality
added test for pretty urls