redirect to proper page after oauth login