Takes user input, writes it to a log file, displays it back to user