Refactored the comment post code to use the Ion library.