Closes #1 - Crash when account not set. Now check all cases to see if user has configured an account and return error code in those cases.