add features of login reg usercenter and so on.