refactor register user
refactor do_register in connection manager
clean up
Implemented users activation
Implemented test for register user api
updated docstring in test_register_user method
Implemented test for activation user api
Merge remote-tracking branch 'jacopy/user-activation' into user-activation
Merge branch 'user_activation'