 
     reload: ->
       @fetched = false
-      $http.get '/api/account'
+      $http.get('/api/account')
         .success (data) ->
           service.populateAccount(data)
           service.fetched = true

      params =
        'spree_user[email]': data.email,
        'spree_user[password]': data.password
      $http.post '/spree/login.json', $.param params
        .success (data) ->
          service.populateAccount(data)
          Flash.success 'app.signed_in'

          Flash.error 'app.signin_failed'

    logout: ->
      $http.get('/spree/logout')
        .success (data) ->
          service.isLogged = false
          service.clear()
