Updating sidebar to show correct token on registration page