skeleton working with basic authentication