1) in case some sessions are running before starting daemon, it will ignore existing log lines (but not files). 2) added 'tee' validation in makefile. 3) implemented determination of remote user's home directory in daemon.