extracted a common viewable module from team and user models