Middleware authenticator added