refresh team when navigating to team page
set auth state to team after invitation accepted