Created special dialog window greeter that takes username and server ip. Added possibility to post pressing enter. But something is broken when I lounch 2 chats with different nicknames.