set up the new location view with all action to display messages and initialised the friend