Basic stats are now working and refreshed using ajax