implemented statistics page