Updated edit and update controllers and added CSRF verification
Made edit view