Add error handlers
Change the route of timeline