fixed bug in index view, profile is now assigned regardleess of team