add process function to handle user input
add a logger instance
use logger as lowercase