Added session configuration functions