-changed isDMLoginPageOpen()