Added edit functionality via edit.ejs