Fixed mislabeled variables
Added redirection for friend domain area