Refractored class name
Fixed api register action