This method has changed to generateToken(). We should update this line