Enclose security keys getting function
Prevent Duplicated Registration
Clean Up Codes