@Override
  public boolean addContact(int user_Id, String eMail) throws RemoteException {
    boolean done = dataBaseOpeartions.addList(user_Id, eMail);

    User user = dataBaseOpeartions.getUser(eMail);
    User user1 = dataBaseOpeartions.getUser(user_Id);

    ClientInterface ci = connectedUsers.get(user.getId());

    ClientInterface me = connectedUsers.get(user_Id);
    if (connectedUsers.containsKey(user.getId()))
      ci.userNotificationadd(user1, me, user1.getStatus());
    if (connectedUsers.containsKey(user_Id)) me.userNotificationadd(user, ci, user.getStatus());

    return done;
  }
  @Override
  public boolean checkAddContact(int user_Id, String eMail) throws RemoteException {

    User user = dataBaseOpeartions.getUser(eMail);
    User user1 = dataBaseOpeartions.getUser(user_Id);

    if (user != null) {
      if (connectedUsers.containsKey(user.getId())) {
        System.out.println("abdosooasosoos");
        ClientInterface ci = connectedUsers.get(user.getId());
        ci.acceptFriend(user1.getfName(), user1.getEmail());
        return true;

      } else {
        System.out.println("abdo offline");
        dataBaseOpeartions.addRequestFriend(user.getId(), user1.getfName(), user1.getEmail());
        return true;
      }
    } else {
      return false;
    }
  }