Save user id for logged in users into the session as well.