added user preferences, methods to add items to db