Fix schema in QA app and add error handling to QA app controllers