token filter added

the added code checks for incoming $_POST data and validates data in
POST request's parameters and cookies