Added a function for the change password