created post views controller