added request logging and compression