passed csrf issue

fixed csrf issue by using the decorator method
fixed csrf issue from template side

added the csrf token that is being passed from template
updated view function

includes filter value from the form