add next() & check login