save user after changing device