adding specs for userstats
adding dev environment detection, and server side scripts