added basic example, now using sessions for requests