Fixed login code bug
moar