update server to send games list to client and client to display games list
clean server code by removing unnecessary comments