Fixes "add session" from browser when no sessions exist yet.
notes dup fix
,
try catch FTW