adding events post and page