Split base into two template (i.e. base and authenticated_base)