Update for message errors in DB authentication

Update for message errors in DB authentication