added global session on socket