Making sure that the session wil not be added twice.