cleaned up login.py
upload parses, but hangs on db_upload