Commented out 'containsId'
Create database calls added