if ( r.data && r.data.redirect ) {

                        self.redirect( r.data.redirect );

                    } else if ( r.message ) {