Control of users ’ sessions and IP dual stack for captive portal type of authentication system