Login updates dbresults in main thread

much more stable version. Login finally updated to handle dbresults in
main thread freeing up other resources.