db rejig - views and user/rights