check if defined dsn on app config