swift login, teams incomplete