Added user class and changed references/calls in Chat client.
Added user class and changed calls/creation in chatclient