hiding session block if there are none