Added basic authentication option