finished the frontend for comments