Added logins with JSON view, closes #1 [GHI].