[IMP] im, im_chat, im_livecaht : separate session state managment between chat and livechat, update views and rules in livechat and improve notification of session state for anonymous session