Edit login.py to use separate DB settings