fixed error on registe user
fixed error on user's beans
Merge pull request #29 from jeffcao/ruitong

fixed errors on regist and show user's beans