removed all but servername and also added header logging for status code bug