Replace session limiting code that I apparently thought was stats somehow