added WPN registration call and functions'