finished authorization part