sharing the data between controllers