def setup_routes(app, handler, project_root):
    add_route = app.router.add_route
    add_route('GET', '/', handler.timeline, name='timeline')
    add_route('GET', '/public',
              handler.public_timeline, name='public_timeline')
    add_route('GET', '/logout', handler.logout, name='logout')
    add_route('GET', '/login', handler.login, name='login')
    add_route('POST', '/login', handler.login)
    add_route('GET', '/register', handler.register, name='register')
    add_route('POST', '/register', handler.register)
    add_route('GET', '/{username}', handler.user_timeline,
              name='user_timeline')
    add_route('GET', '/{username}/follow', handler.user_timeline,
              name='follow_user')
    add_route('GET', '/{username}/unfollow', handler.user_timeline,
              name='unfollow_user')
    add_route('POST', '/add_message', handler.user_timeline,
              name='add_message')
    app.router.add_static('/static/',
                          path=str(project_root / 'static'),
                          name='static')

@@ -295,16 +295,17 @@
 ogout')%0A
+%0A
     add_
@@ -403,16 +403,17 @@
 .login)%0A
+%0A
     add_
@@ -668,37 +668,35 @@
 w', handler.
-user_timeline
+follow_user
 ,%0A          
@@ -769,36 +769,36 @@
 ', handler.u
-ser_timeline
+nfollow_user
 ,%0A          
@@ -865,36 +865,34 @@
 e', handler.
-user_timelin
+add_messag
 e,%0A         

fix routes for motortwit