Template controllers added
Visits functionality updated