broke down teams view so it is not so big and fixed layout problem with flash messages