Doesn't seem to work for me. Your snippet.fbLogin.php file contains things like
$fristloginResourceId which is not actually used anywhere. tried fixing that up but it doesnt seem to redirect on fist sign up. Must be a double redirection or some such issue. Not sure.