working on adding basic authentication