Add modified userstore sql to commons/resources to support carbon 4.2.X. And a hosts template.