got more basic authentication written