making post pages work