revert code from omniauth controller