Modified the change password controller to fix the flash message and to view the correct message when the user change password is a success or error. Changed how the web application called the flash message, tested the changes, as per testing, it is now OK. The application shows the correct message depending on the error or success encountered.  Modified the change password again for applying the validation on the password length, and tested the changes, and after testing, it is now OK. Changes other functions flash message and validation, and as per testing, all is OK.