Wrote a logout view and interpolated it into the templates