created edit view for editing blog posts