       return realTitle
 
 
-exports.session_user_id = (defArr = ["session", "user", "id"]) ->
+exports.session_user_id = ({init, defArr} = {}) ->
+  defArr ?= ["session", "user", "id"]
+  init   ?= null
   return req_item_by_keys(defArr)
 
-exports.session_user_email = (defArr = ["session", "user", "email"]) ->
-  return req_item_by_keys(defArr)
+
+exports.session_user_email = ({init, defArr} = {}) ->
+  defArr ?= ["session", "user", "email"]
+  init   ?= null
+  return req_item_by_keys(defArr) or init
+
 
 exports.line_number = (opts = {}) ->
   return (mod) ->

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

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

  obj or= {}
  return _.has(obj, "route") and _.has(obj, "res") and _.has(obj, "next")


item_by_keys = (obj, keyArr) ->
  item = obj
  for key in keyArr
