Improved Facebook login: replaced next with redirect_uri