Implemented Token registering