Add client session as parameter