finish up authentication