add logging for authorized action and $_GET / $_POST