got register user test to work