change console.log to logger in route-link