Sodium in the upper atmosphere