fix broken links, fix sidebar nav to chat security