fix register and router
Merge branch 'master' of https://github.com/olivierantunes/CAOSWeb