added user hint and id ioctl, tested basic swap functionality