finish login spec and client