Since you have not defined that what the table name is, Eloquent automatically, searches for snake cased plural form of your model's name, in this case users, furthermore, as it can not locate it, you get that error.

So to edit it, within the app\User.php file, which is your User model, set the $table property.

For your other question, which you have posted as an answer as how to change the primary key field, Eloquent assumes you have an primary column named as id, to change it, set it within the $primaryKey variable.