test/implement user registration