Moved passport setup to authenticate