Change view and controller logic