Fix detection of recess upon login