Significant rewrites to get_entries for improving session tracking

Inlines session sessions with log entries. Also, adds a session tag
near the search form