made User field volatile (seems like fix to problem with getting wrong value sometimes)