fix for db logon