Added logout, handle missing gsbrcd & devname