Team check

Awful lot of duplication here. Maybe some of this should be in the `ApplicationController`, hmm, hmm?