fix broken links and login display