new post on state pattern and views