Added comments to all security methods