added login required mixin.
using mixin in login required view.