create a model of login