Get the switching between users logic in place.