change login args representation to use hash