refactored problemsList route into routecontroller