there are some edge cases in which this resolution will not work:
example: user name with space
use verifyUserLoggedIn() from WikiBasePageObject class instead