Added support for user credentials to Polaris