recalculate stats on login