Glad to hear that helped you come up with a better way to implement things.
As for the redirect issue, sorry for the delay on that. I just posted a response to the
JFBConnect redirect is incorrect
post that you posted in. Let's continue that discussion there if you still need help with that issue.
Thanks,
Alex