finished the security on the rating system