Added stat and admin functionality