Adding options

Now we have an option for username and one for API key and both are
used in the call.