Update change password view and fix some bugs.