You can use the $user from parameters here instead of pulling in another global