fix checkout user, so that we could get user id from session information