creating a publish page