finished login procedure