dd login and deconection