added simple dialog delegate and moved login classes to correct packages