fix facebook sign in and redirect