Access principal in success view

This fixes #669 
The comment has not changed, has it?