More TODOs
Error message on session timeout
Automatically create log file folder if it is missing