minor updates.  login returns boolean instead of dictionary