added fixs for logout,changed locator for logout