Added secure session class, config file