Configuring database, string out content from the database to the main site