finish the base feature of commenting system