hooked up much of the session tab display and started on the logic