Setting up a session component