fixing login z index