Abstract out db call
Create complete user object with certs