init sessions method added