write test for register and login API User
review code
add log file