finished login ajax call