adding logging for ip address
removing links that are not required