Session Check Bug Fix