Fix ratings redirect. Remove debug in views. Clean up logic with helper methods