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