Login working with shim