Issues with the Primary key option in the User model. Attempt at rectifying.