added some omniauth middleware