Added authentication
Merge pull request #20 from ysjwang/final-tuneup

Added authentication