worked on function for edit, getDn and login. Still a lot to do