Added basic auth fun-ty