Edit: woops just realized that you must've already solved this
$table->increments('userId');
You're using userId for your primary key instead of ID, but your Eloquent model is not aware of this. You need to add the following line to your User model:
protected $primaryKey = 'userId'; //this variable is defaulted to 'id'
The following should also be changed:
public function getAuthPassword() {
return $this->password;
}
You're not using "password" as your password column. Change it to:
public function getAuthPassword() {
return $this->userPassword;
}
The autogenerated code in the User model assumes that you use the default field names defined by Laravel, so you need to make sure that the User model and auth config match the changes you made to the table.