add LoginRequiredMixin for requiring a login