properly refer to logger in user_database