Added code to use WAYF SP and call portal.