add user registration test
add functional test of user crud