adapted bees to send session cookie