Fix path to countries array
Debugs images controller and model

- Change every avatarid name to id
- Do the nessecary changes for it to work