Fixed app/__init__.py and removed code from when I intended to use flask-login.