Code For Register View