Moved intercept above log in api docs