More work on alter ego (login)