Servlet and some additional work to allow users to edit and delete posts