fixing redirects for fb login