added loginWindow

added a method loginWindow to the WarehouseLink class