fixed up statistics page a bit. fixed a login problem