add themes & pages api