throw NameNotFoundException if user is not found