Client class

added client class and redesigned login