Added success callback to view