added token authentication

Add http_authentication to the app.