Added code_master property to course registration