added functions for deleting comments and discussions