views cleanup and removal or csrf middleware