added functionality for making comments and refreshing comments