added methods for saving Quiz and Record data