Fixed session not refreshing