Refactor employee-details.ejs
Modified for routes