Fixing  broken links in security.py