streamlined DBlogin some more