Added username and token as parameters.