Updating xpath of gui log out

Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I519355f6562be56f8cacd6985d5a0991d55eb53a
diff --git a/gui/data/resource_variables.py b/gui/data/resource_variables.py
index 2f4220f..aa4892d 100644
--- a/gui/data/resource_variables.py
+++ b/gui/data/resource_variables.py
@@ -12,7 +12,7 @@
     xpath_textbox_username = "//input[@id='username']"
     xpath_textbox_password = "//input[@id='password']"
     xpath_button_login = "//*[@id='login__submit']"
-    xpath_button_logout = "//*[@id='header']/a"
+    xpath_button_logout = '//a[contains(text(), "Log out")]'
     xpath_yes_button = "//button[text()='Yes']"
     xpath_openbmc_url = "http://localhost:8080/#/login"
     xpath_openbmc_ip = "//*[@id='login__form']/input[1]"