I have BaseContext view and other templateView. Token is created inside the template. I also checking the token cookie exists if not I redirect user to this url