Loaded the data from the db and rendered in jade template