make checkAuthentication public
Merge pull request #25 from inaka/tom.CheckAuth

make checkAuthentication public