Add dashboard link in conditional manner