Fixed login(hopefully)