Not Referencing the right db entry.

fixes reference to the user db fields.