Adding Extra Security Check on Elevated Template