Added a method in portal.js to show/hide links based on logged in user