teams & team details pages working with db...