Add security to stats page in carstore

This should fix #511