querying my database to submit a blog post