Better check for existence of ID in URL before proceeding