Create SessionCreateUpdateMixin with code shared by other views