Id validation added, penetration testing on deleting the resource