restore base variables for logged in user