added login model