Access principal in success view

This fixes #669 
just a note (For another issue) we might want to deprecate this class.