Creating LoginRequiredMixin to check access on some views