handle passed in database pwd