added flag for detecting when message is sended
changed session creation + login qbchat
added logic for detecting when message is loading and when it is sending