completes auth