added httparty request logging