Added PING command handling and cleaned up some code
Typos and getting users' hosts
Changed indentation style