Some refactoring in db, added dynamic records. First steps toward shiro security in jetty-webapp.