Removed the unnecessary link (ypInput)
Fixed the way to get the client IP