Added optional api key authentication
Merge pull request #38 from azhao12345/master

Added optional api key authentication