Changed login handling and dump