Restoring port number and enabling user name check for tour editing