Undefined ejs variables properly handled during login/logout now