implemented BasicAuth
Merge branch 'auth'