setup_app replaced with init_app

Deprecated setup_app replaced with init_app in login-example.py