Fixed case where user tries to add/update rating while not logged in