added --nologin flag