prepare database & entities for rating system
fix owner options