Modify change password logic and ajax support, but need some future edition to fix all bugs