removed session setter usage in default failover
made session immutable