created a login model