Changed controller architecture to separate view and posts actions