Adding logic to route for questions