Fixed login return value