added ability to delete application