register user fixes