Social auth not working! some refactoring
Add check  to real refferer