Refactor items controller
Test Ajax
Reorganize error messages