DB creditials is now in dsn format
DB creditials in dsn format & deleted duplicate code related to adding domain part to username