Before filter in Team Controller