Make session working