this should actually fix the session problems