new class MyApplication for global user Id access