refactored urls to point to class-based generic view