Adding log files and username sanity check