add auth url to config and fix calendar initialize