Tried moving over some code from basic omniauth