Fixed no session variable resulting in error