finish device authentication