fix '#1 Add authentication' issue