Checked and fixed the flash message when changing the password as it is extracting and saving correct data but the flash message is not displaying correctly, the flash message is just added for better display of status or message of the changes. This is still checked as the changes are not taking effect, searching for a better way to authenticate the password. The next and previous page is not good as well though there are no changes on this, checked this as well why the design changed.