add basic auth for index page
add auth helper
Merge pull request #6 from quipper/add-basic-auth

add basic auth for the index page