[iOS] Updated 'initialize' function to get user and team info