Add delete image endpoint. Fix isAdmin.