Modified to include sqlite again (some probs). Added helper for page title