Add default user and api token parameters to new()

Add optional parameters to `new()` that allows for user and API tokens to be supplied. If specified, these will be used as defaults for any method calls that require them.

Closes #5