error corrections

update fixes errors in AJAX where the 'userId' wasn't being passed to
the refresh/cancel functions to allow the refresh to display the users
links dynamically.