Modifies css class queries in code. Modifies behaviour in
case of accessing directly to a tab page without user login first