adding basic authentication