Sessions helper fixed