rails has a built in session variable that we can add values too like this:

<code>session[:user_signed_in?] = user_signed_in?</code>

Then we can just render the session variable which will have other important things down the line (locale and other good things).