adds template for db save states page