Creating methods to register a master_degree course