       #   return moduleTitle
 
       unless mod
-        return '<unknown>'
+        return opts.init or '<unknown>'
 
       unless mod.id
         return mod

      return realTitle


exports.session_user_id = (defArr = ["session", "user", "id"]) ->
  return req_item_by_keys(defArr)

exports.session_user_email = (defArr = ["session", "user", "email"]) ->
  return req_item_by_keys(defArr)

exports.line_number = (opts = {}) ->
  return (mod) ->

        throw new Error()
      catch e
        # now magic will happen: get line number from callstack
        return e.stack.split('\n')[4].split(':')[1];


exports.module_title = (opts = {}) ->
  return (mod) ->
