refactors show action in teams controller