This model may be used with the default Eloquent authentication driver. you may use the database authentication driver which uses the Laravel query builder. . By default, the basic middleware will use the email column on the user record .