register for a class