Messing around with lists and optimizing jades conditionals by using the database. see notes