current attempt to integrate yanna's image search code with cycling logic
register and login RPC seems to be working roughly, but definitely needs polish