rendering the correct dashboard template