add basic authentication
Merge branch 'dev4'