added templates for posts new and edit; fixed links