done todo (logging and userInput)
log bug fixed (+metacharacters added so it become more readable in file )