How to access session from edge template

I am building a basic login from scratch and I am about to check user login status but don’t know how to check session in view (edge).

Hi @chheunpheara

Perhaps @loggedin

  You are logged in!
  <a href="/login">Click here</a> to login.

And to get logged in user:

{{ auth.user }}

I don’t want to use this I want to customize my own way.
If I can customize my own session in view, it’d be good to use other sessions for other purposes.

Then perhaps adding runtime values can help, if you want to make it full custom

Extenging views in general might be some help