finish login model