Updated controller to resolve the user review issue.