adds blogpost resource
post new blog and post update blog