tried slightly different implemtation to support other auths
Gave up and followed a tutorial. Works for twitter.
omniauth for facebook
Omniauth for twitter/facebook works