clean code
fix relation models
return 0 when friends is null
remove root from json render
add ids goals in users
change routes