funcional add new. Properly recieving and sending the id & url