adding a bit more structure to the client ejs