Added conditional links

Added permission for links and conditional link in page