Improved helper

Can now provide different types of link to private namespace or public
page