#1 Relocated connection string, app secret key and debug mode to config.py
Fix in admin_mode()