remember task id when logging in
skip documents not in pages, fixes #2