Fixes to csv files and authentication checking
Created by: adrienmonks11
Implemented functionality for importing ratings, and fixed errors with the existing csv templates. Added checks for user authentication when trying to access urls that require a user to be logged in.