Added new post page and router linked. Created a event handler for form submit.