Implemented user id integration in setting (register, logout).