Fix imports in app.py, make sure len takes list in authorization
functions, fix styling