database relationship for user name/id