restoring controller/view for register