use rails reset_session not session = nil