Fix redirect after google/facebook login