Home and Discover pages now use SQLite database