Register view and some validations