more work on login object