Added userId to session.