def remember(active_session)
cookies.permanent.encrypted[:remember_token] = active_session.remember_token
end
def remember(active_session)
cookies.permanent.encrypted[:remember_token] = { value: active_session.remember_token, httponly: true }
end