If a user logs out, the active team is still stored in the state.
If he logs in with another user, the user is still in the same team.
It would be best to delete the activeTeam on log out.
Also we need to validate in the backend, that the user belongs to a team, if he requests access for the resources in that team.