Passing parameters to the loading view