Creating the oauth filter logic