added dev? method and auth and refactoring in thing and property models