Method logout in InboxPage.java was changed in order to be sure that it
will wait until all necessary elements will be loaded