added modals
added session support
new winner calculations