addes session stuff