added security measures all around the page