lanchat.go: Created and used getSecret()