some changes for routes; default_value_for rating; order_by in contest