DB fixes, rating system, index view for users