create a log method for logging wrong types at DAO->save(),  implement a core helper that gets the id and the object from post/database,