“I’m going to register as a Democrat,” the President said