fixed routing and creating cohort