changed db auth module to global logging