Fixed login callback