sidebar stat count, and ajax updating are added