Configure application.

def register_app(app):
    " Configure application. "

    from .views import users
    app.register_blueprint(users)

    from .oauth import config_oauth
    config_oauth(app)