added login required mixin