refactoring sessions and speakers code