Stupid mistake to not connect the database