Changed logout view to a CBV