added client basic authentication