implemented unsubscribe action for sessions
added publish event