fix some core classes
add a example app signin
fix some tpls
add some static resources