owin refact