login logout layout fix