Removed the security check on the models. It needs to be in the controllers.
Merge pull request #149 from nla/dbtemplate

Removed the security check on the models.