initializes fb login before redirecting from the weird code in the url