Added option to read secret key from a file
Fixing bug with default logger intitialisation