add chat and location in register