hooking up the preview route