Commiting for the server name and logging the data

This commit resolves the issue for getting the Server name as Server for
the first time. Also logs on the console the data coming from the client
Resolving the username issue

Resolving the username issue, by parsing the message and username from
the data that is coming from the server.