Fixed Logout. The switch pictures javascript now completely works. Need
to fix Media permissions on thumbnails.