added authentication middleware for hello world