Added more edge cases and had it display the content of the 'data' local in homepage.ejs