Added logic to capture passed user for looping