support for credentials via options
updated readme to reflect new options