rename serve.py; add add_login_routes function