Fix logout. Fix styles for main page in firefox