add authentication
Merge pull request #4 from cayasso/master

add authentication