persist fontello session id to a file + specs & refactoring