Xpath should be [id = $currentUser]
Instead of asking the "technical" question, provide us with the reasoning behind what you are trying ti accomplish ?
iow. paste in some screenshots of your domain model and explain what the bussiness logic is of what you are trying to do !