Register View Controller working