 RootView = require 'views/core/RootView'
 template = require 'templates/home-view'
 CocoCollection = require 'collections/CocoCollection'
-TrialRequest = require 'models/TrialRequest'
-TrialRequests = require 'collections/TrialRequests'
-Courses = require 'collections/Courses'
+
 utils = require 'core/utils'
 storage = require 'core/storage'
 {logoutUser, me} = require('core/auth')


  onClickJumbotronDownArrow: ->
    @scrollToLink('#ozaria-summary', 200)

  onLoaded: ->
    @trialRequest = @trialRequests.first() if @trialRequests?.size()
    @isTeacherWithDemo = @trialRequest and @trialRequest.get('status') in ['approved', 'submitted']

    super()

  onClickRequestQuote: (e) ->
    @playSound 'menu-button-click'

  logoutAccount: ->
    Backbone.Mediator.publish("auth:logging-out", {})
    logoutUser()
