DB Credential store fix

Fix for DBCredential store ( Adding userid as primary key )