Fetched records from database and displayed using jade template