Created edit post route and page