init sessions method updated