implemented message() to deletePost()