Adding basic authentication - in progress version