the secure link function seems not be working?