simple authentication extension fot sinatra