public boolean deleteFriend(String username) {
    if (isAuthorized) {
      DeleteFriendMessage message = new DeleteFriendMessage(loggedInUser.getUsername(), username);
      sendMessageToServer(message);
      return true;
    }
    return false;
  }