Improved Facebook login flow

Updated Facebook authentication to use a more efficient client request method instead of redirect, improving how users are sent to Facebook for login.