Chat session log in

I added some code to log in for each chat session. I added a string
variable type in clientControll.