Listener for login/logout that registers IPs, etc
Convenience fns to see if response is 2xx or 4xx
Remove test code
Update API