fix conditional !login