added welcome message and end message both in webApp and MainApp