added success message to some pages