add login test
minnor changes