comments and cleanup of session cache in Secure trait