beginning to add support for basic authentication