 # global sign-in function used for web version.
 window?.signIn = ->
   LoggrUtil.log 'signIn'
-  location.href = window.location.protocol + '//' + window.location.host + '/authenticate'  
+  location.href = window.location.protocol + '//' + window.location.host + '/authenticate'

          LoggrUtil.log "Initial hash: #{hash}"
          @showHash if location.hash is '' then hash else location.hash

  # Swtch content  
  # `hash` Hash of the content  
  # `state` Optional state when invoked from history.back
  showHash: (hash, state) ->
    LoggrUtil.log 'showHash ' + hash + ' current: ' + location.hash

      else
        @showHash newHash

  # Shows a list of accounts or contacts.
  # Tries to get data from memory cache or loads it up when not available.
  # `type` Record type
  # `reset` Flag if the list should be cleared before loading the new one.
  showList: (type, reset = false) ->
    Model.setLastType type

