Made switch to appropriate tag names/attributes, ID and CLASS switched around for wrapper and inner frame
Small updates to operations upon logout, added porper headers on brands tables