fixed 'no user on session' bug