finish authetication process