created custom logger for user interactions