prototype for omniauth