Add a healthcheck url
Define a var before using it
Add a check for the secret in authenticate
Updating docs