Made basic add ip address functionallity working