Access principal in success view

This fixes #669 
Perfect