customed from team-dashboard rails app, which is extracted from it