Deleting portfolio from database working