added emulate oauth login