Refactor custom form and fix some bug
Merge pull request #308 from liuchuangww/user

Refactor custom form and fix some bug