update tests
improve create id handling in user crud
reorganize chat methods
add update method to crud
improve error handling on update
re-organize js files
add CRUD with restangular
allow to change api in new crud