title: How to access store from other controller in ExtJS 4.2.2
body: <p>I'm developing an application which is build in ExtJS 4.2.2 with symfony2 backend. Now I have following problem : 
  Lets say that I have 2 mvc's in my frontend - One for managing users and other for managing their data.</p>
  
  <p>Now when user want to delete row of data I have to set his name in that deleted record so it can be archived and other users would know who made the deletion.</p>
  
  <p>The question is how can I access to currently logged in user data from my DataController.</p>
  
  <p>I've tried this:</p>
  
  <p><em>This is part of code in my DataController, it's responsible for archiving deleted record</em></p>
  
  <pre><code>//sel[0] is selected record
  //console.log({{ app.user.username }}); //I tought it could work somehow :) but it did not
    sel[0].set('deleted_at', new Date()); //setting date of deletion
  //get user store
  //var usrStore = Ext.getStore('common_user.user_store'); 
    var usrStore = Ext.data.StoreManager.lookup('common_user.user_store') 
    console.log(usrStore); //in both cases ruterns undefined
  //sel[0].set('deleted_by', );  //here i want to save user name in column named "deleted_by"
    sel[0].save();
    sel[0].commit();
  
    grid.getStore().sync();
    grid.getStore().reload(); //reload grid
  
    grid.getStore().remove(sel[0]); //remove from grid
  </code></pre>
  
  <p><em>This is how I've configured User store proxy</em></p>
  
  <pre><code>proxy: {
          type: 'rest',
          url: Routing.generate('webit_sencha_get',{store: 'common_user.user_store'}),
          appendId: false,
          batchActions: true,
          reader: {
              type: 'json',
              root: 'data'
          },
          writer: {
              type: 'json',
              root: 'data',
              encode: true,
              writeAllFields: true
          }
      }
  </code></pre>
  
  <p><em>Maybe I should load User grid on init of my data controller ? But still, I don't know how to.</em> </p>
  
  <pre><code>Ext.define('Data.controller', {
      extend: Ext.app.Controller,
      init: function() {
          this.control({
              ...
              'data_grid': {
                  afterrender: this.onDataGridRender
              },
              'archive_grid': {
                  afterrender: this.onDataArchiveGridRender
              },
              'common_user_grid': {
                  afterrender: this.onUserGridRender // ????
              }
          });
      },
      ...
  </code></pre>
  
  <p><strong>So the question is how can I access (if it's possible) name of currently logged in user from other controller</strong></p>
  
  <p>I'll be thankfull for any guidance.</p>
  
  <p><strong>Problem fixed, I just had to pass parameter to my backend save option and then get current user there</strong></p>