userapi is now using the databaseLogger instance like the rest of the code