inheritance for ejs templates, file uploading to server