I have a site that has a log in page for english and one for french. I am checking for a cookie on page load and if it does not exist redirects user to the english log in pa