added success url and login required mixin