Added device authentication.