Fixed url encoding of target path
Moved cache check into the right place
Made sure that the "Welcoume" string is always visible, it is needed by tests