on team page, redirects user if not member and project count is zero, redirects to members tab if members.length > 0, otherwise redirects to activity tab