void Start()
    {
        popUp = Instantiate(popupprefab, new Vector3(540, 960, 0), Quaternion.identity, parent.transform);
        popUp.SendMessage("deactivatePopUp");
        popUp.SendMessage("setPrefab", popUp);

        sessionPopUp = Instantiate(sessionNamePrefab, new Vector3(540, 960, 0), Quaternion.identity, parent.transform);
        sessionPopUp.SendMessage("deactivatePopUp");
        sessionPopUp.SendMessage("setPrefab", sessionPopUp);

        this.gamesScript = GameObject.Find("SceneManager").GetComponent <GamesManager>() as GamesManager;
        this.friends     = new List <Friends>();
        this.friends     = gamesScript.GetFriendsList();

        StartCoroutine(WaitToDisplay(1));
    }