Fixed login() not working since sessionID was already being passed (as None type)