public Boolean adduser(User u)
 {
     ServiceReference1.User myUser = new ServiceReference1.User();
     myUser.UserName     = u.Username;
     myUser.UserPassword = u.Userpassword;
     myserver.addUser(myUser);
     return(true);
 }
 public int searchUser(User user)
 {
     ServiceReference1.User myUser = new ServiceReference1.User();
     myUser.UserName     = user.Username;
     myUser.UserPassword = user.Userpassword;
     if (myserver.searchUser(myUser) == 1)
     {
         return(1);
     }
     else
     {
         return(0);
     }
 }