Before integration devise and oauth