Complete changing passwords function for users.

Signed-off-by: Xie Haozhe <zjhzxhz@gmail.com>
Complete editing profile and changing password functions.

Signed-off-by: Xie Haozhe <zjhzxhz@gmail.com>