Can now provide different types of link to private namespace or public page
Cleaned up the code, removed unneeded function, reordered creation(s)/redirection operations