made it work

made it work across both types of garmin accounts and fixed some code