basics of form validation added for the change password form