Refactored views to use layout.ejs partial