Cleaned up the StudentRecordController class