making app crutial vars globally accessible