Complete FB Login Logic