Added ability to specify options for signin