Implement addComment fuction for Post to add on comment input