Removed reliance on hard-coded primary key

Updated user model to use eloquent primary key in getToCheck()

This allows the module to be used with other databases such as Mongo easily where primary keys are keyed by '_id' or where SQL primary key columns are keyed differently.