Made session identification asynchronous