add login test method and made the base project struct,so aha,I had just fixed large amount of problems.OK it's nice to myself