Added some logging to the server