creating action for change password