fixed connect issue when returning from request page. Removed explicit use of appId