add stat and graphs in some controllers