Fixed login compilation error