using mixin instead login required view.