Typo on the server file meant an hour+ of debugging swift was a waste of time :( however I got a strict to pass around global var on tab bar