Fixed login bug with not passing list variable