Resolving some issues with the character aPI call and modifying the authentication SessionID value to sID to allow the Session call to use the SessionID name.
Renaming file to be more appropriate for function.
Renaming some variables to keep them in line with their new roles/names.