Returned to original JS calls which seem to work now. Added alerts to notify user of “access denied” or “no account present” situations.