Modify PerosnnelController to save in couchdb.