doc page and login modal