 
   showSidebarProfile: (user) ->
     sidebarProfileView = new SidebarProfileView(model: user)
-    app.leftTopRegion.show(sidebarProfileView)
+    FactlinkApp.leftTopRegion.show(sidebarProfileView)
 
   makePermalinkEvent: ->
     FactlinkApp.factlinkBaseUrl = null

      main_region.show(new NotificationSettingsView model: user)

  showPage: (username, options) ->
    app.leftBottomRegion.close()
    @main = new TabbedMainRegionLayout();
    app.mainRegion.show(@main)
    @getUser username,
      onInit: (user) =>
        FactlinkApp.Sidebar.showForChannelsOrTopicsAndActivateCorrectItem(window.Channels, null, user)

class window.ProfileController extends Backbone.Factlink.BaseController

  routes: ['showProfile', 'showNotificationSettings', 'showFact']
