Adding LoginRequiredMixin.