updated views.add_post()