post route receives title and content from add page