Refactor messages into user and team
Bring sql into ActiveRecord
Debug ingredients
Check links and general debug