minor login issues

Log in issues with getting db info fixed.