Generate the main screen (the webapp) dynamic using the data stored in the db