implemented register/update_password/update_email/forget_password methods,
fixed site root url parsing issue,
some modifications on framework level.

Signed-off-by: TomWu <phperwuhan@gmail.com>