params id check added to people controller