fix page tree test
add login test