add code of mainactivity,contactus,event fragment