THIRD Amended and restated REGISTRATION RIGHTS AGREEMENT