working with logging of user input