Added security with login_required mixin