Cleaned up login for rpc. Fixes to install process for IUP