Updated controller to trigger the create action and redirect user