More outline of database and permission layout