Added create/update actions and views for posts