finished coding the server, time for some debugging