added server bash, added basic access authentication