Changed Controller for register