added first table templates and $_get for pages