finish auth for client