using logging module to print messages to user