Cleaned the publisher3 using a function to send the REGISTER REQUEST