moved login check to basePage
Merge branch 'master' of http://github.com/leapon/leapbase