Small RMI fixes. Login fixed.