MetaProgramming: Cleaning up routes to enable deletion and editing of sessions, templates