Add register logic
Merge branch 'master' of https://github.com/omg-insa/client into develop
Fix netwokr bug