Fixing error with secure_token